﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPSClient.model
{
    public class ProcedureInfo
    {
        public string OID;

        public string StepNumber { get; set; }
        public string StepName { get; set; }


        public List<ProcedureInfo> paces { get; set; }
        public List<PartInfo> parts { get; set; }
        public List<MaterialInfo> materials { get; set; }
        public List<ToolInfo> tools { get; set; }
        public List<EquipmentInfo> equipments { get; set; }
        public List<zuoyemiaoshuInfo> zuoyemiaoshus { get; set; }

        public ProcedureInfo()
        {
            paces = new List<ProcedureInfo>();
            parts = new List<PartInfo>();
            materials = new List<MaterialInfo>();
            tools = new List<ToolInfo>();
            equipments = new List<EquipmentInfo>();
            zuoyemiaoshus = new List<zuoyemiaoshuInfo>();
        }
    }
    public class PartInfo
    {
        public string NAME { get; set; }
        public string XINGHAO { get; set; }
        public float USECOUNT { get; set; }
        public string UNIT { get; set; }
    }
    public class MaterialInfo
    {
        public string FULIAONAME { get; set; }
        public string FULIAOTYPE { get; set; }
        public float FULIAOUSECOUNT { get; set; }
        public string FULIAOUNIT { get; set; }
    }
    public class ToolInfo
    {
        public string NAME { get; set; }
        public string TYPE { get; set; }

    }
    public class EquipmentInfo
    {
        public string NAME { get; set; }
        public string XINGHAO { get; set; }
    }

    public class zuoyemiaoshuInfo
    {
        public string XUHAO { get; set; }
        public string zuoyemiaoshuName { get; set; }
        public string miaoshu { get; set; }
        public string zhuyishixiang { get; set; }
    }
}
